# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-booleanoperations
_pkgname=booleanOperations
pkgver=0.9.0
pkgrel=2
pkgdesc="Boolean operations on paths"
options="!check" # Requires unpackaged 'FontPens'
url="https://github.com/typemytype/booleanOperations"
arch="noarch"
license="MIT"
depends="python3 py3-pyclipper py3-fonttools"
makedepends="py3-setuptools py3-setuptools_scm py3-wheel"
source="https://files.pythonhosted.org/packages/source/b/$_pkgname/$_pkgname-$pkgver.zip"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="f06d2d3143399f5f6325456a2368d608ad8b7b18a5f63bdaf4c48ddd9a9a2aebf4f67da5cadad2aa0d9d9caaa4839f314ed016cb8572805ef3a01f74e469e56b  booleanOperations-0.9.0.zip"
